Filter hook 'gettext_{$domain}'
in WP Core File wp-includes/l10n.php at line 219
Description
Filters text with its translation for a domain. The dynamic portion of the hook name, `$domain`, refers to the text domain.
Occurrences
Filename |
Line Number |
wp-includes/l10n.php |
219 |
Parameters
Type |
Name |
Description |
string |
$translation |
Translated text. |
string |
$text |
Text to translate. |
string |
$domain |
Text domain. Unique identifier for retrieving translated strings. |
PHP Doc
/**
* Filters text with its translation for a domain.
*
* The dynamic portion of the hook name, `$domain`, refers to the text domain.
*
* @since 5.5.0
*
* @param string $translation Translated text.
* @param string $text Text to translate.
* @param string $domain Text domain. Unique identifier for retrieving translated strings.
*/